from selenium import webdriver
def test_selenium():
    driver =webdriver.Chrome() #调用了chormedriver执行
    driver.get('https://www.baidu.com')
test_selenium()